﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="RoleList.aspx.cs" Inherits="System_Role_RoleList" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<body>
<form id="pagerForm" method="post" action="Role/RoleList.aspx">
    <input type="hidden" name="status" value="status" />
    <input type="hidden" name="keywords" value="keywords" />
    <input type="hidden" name="numPerPage" value="<% =NumPerPage %>" />
    <input type="hidden" name="pageNum" value="<%=PageNum%>" />
    <input type="hidden" name="orderField" value="" />
    <input type="hidden" name="rel" value="<%=rel %>" />
    </form>
    <div class="pageContent" style="border-left: 1px #B8D0D6 solid; border-right: 1px #B8D0D6 solid">
        <div class="panelBar">
            <ul class="toolBar">
                <%--<li><a class="add" href="demo/pagination/dialog2.html" target="dialog" mask="true"><span>
                    添加尿检检测</span></a></li>
                <li><a class="delete" href="demo/pagination/ajaxDone3.html?uid={sid_obj}" target="ajaxTodo"
                    title="确定要删除吗?"><span>删除</span></a></li>
                <li><a class="edit" href="demo/pagination/dialog2.html?uid={sid_obj}" target="dialog"
                    mask="true"><span>修改</span></a></li>
                <li class="line">line</li>
                <li><a class="icon" href="demo/common/dwz-team.xls" target="dwzExport" title="实要导出这些记录吗?">
                    <span>导出EXCEL</span></a></li>--%>
            </ul>
        </div>
        <table class="table" width="100%" layouth="203" rel="jbsxBox">
            <thead>
                <tr>
                    <th width="80">
                        序号
                    </th>
                    <th width="120">
                        菜单名称
                    </th>
                    <th width="100">
                        菜单级别
                    </th>
                    <th width="100">
                        子菜单
                    </th>
                    <th width="100">
                        权限设置
                    </th>
                   <%-- <th width="100">
                        添加
                    </th>
                    <th width="120">
                        查询
                    </th>
                    <th width="100">
                        修改
                    </th>
                    <th width="80">
                        删除
                    </th>--%>
                </tr>
            </thead>
            <tbody>
            <asp:Repeater ID="RepeaterTr" runat="server">
            <ItemTemplate>
                <tr target="sid_obj" rel="1">
                    <td>
                        <%#Eval("ID") %>
                    </td>
                    <td>
                        <%#Eval("MenuName")%>
                    </td>
                    <td>
                        <%#Eval("Level")%>
                    </td>
                    <td>
                        <a title="<%#Eval("MenuName")%>-子菜单" target="navTab" href="Role/SubRoleList.aspx?id=<%#Eval("ID") %>&rel=SubRole<%#Eval("Level")%>&mid=<%#Eval("ID") %>&rid=<%=rid %>" class="btnInfo" rel="SubRole<%#Eval("Level")%>">
                                    子菜单</a>
                    </td>
                    <td>
                        <a title="<%#Eval("MenuName")%>-编辑" target="dialog" href="Role/RoleSet.aspx?mid=<%#Eval("ID") %>&rid=<%=rid %>&rel=<%=rel %>" class="btnEdit" rel="dialogedit<%#Eval("ID") %>">修改</a>
                    </td>
                    <%--<td>
                        添加
                    </td>
                    <td>
                        查询
                    </td>
                    <td>
                        修改
                    </td>
                    <td>
                        删除
                    </td>--%>
                </tr></ItemTemplate></asp:Repeater>
            </tbody>
        </table>
        <div class="panelBar">
            <div class="pages">
                <span>显示</span>
                <select class="combox" name="numPerPage" onchange="navTabPageBreak({numPerPage:this.value},'<%=rel %>')">
                <option value="<%=NumPerPage%>">选择</option>
                    <option value="20">20</option>
                    <option value="50">50</option>
                    <option value="100">100</option>
                    <option value="200">200</option>
                </select>
                <span>条，共<%=TotalCount%>条</span>
            </div>
            <div class="pagination" rel="jbsxBox" totalcount="<%=TotalCount%>" numperpage="<%=NumPerPage%>" pagenumshown="<%=PageNumShown%>"
                currentpage="<%=PageNum%>">
            </div>
        </div>
    </div>
</body>
</html>
